#ifndef VZLPR_ADDON_LOCKER_H_
#define VZLPR_ADDON_LOCKER_H_

#include <Windows.h>

class CCriticalSection
{
public:
	CCriticalSection(void);
	virtual ~CCriticalSection(void);
	
	void Lock();
	void Unlock();

private:
	CRITICAL_SECTION m_criticalSection;
};

class CLocker
{
public:
	CLocker(CCriticalSection *criticalSection);
	~CLocker(void);

private:
	CCriticalSection *m_criticalSection;
};

#endif //  VZLPR_ADDON_LOCKER_H_
